<?xml version="1.0" encoding="UTF-8"?>

<beans xmlns="http://www.springframework.org/schema/beans"
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
       xmlns:context="http://www.springframework.org/schema/context"
       xsi:schemaLocation="http://www.springframework.org/schema/beans 
           http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
           http://www.springframework.org/schema/context
           http://www.springframework.org/schema/context/spring-context-3.0.xsd">


	<!-- ========================= SERVICE DEFINITIONS ========================= -->
	<bean id="volFigureBusinussService" class="org.vsg.stock.basic.service.impl.VolFigureBusinussServiceImpl">
	</bean>

	<bean id="volCharacterBusinussService" class="org.vsg.stock.basic.service.impl.VolCharacterBusinussServiceImpl">
	</bean>

	<bean id="volLineBusinessService" class="org.vsg.stock.basic.service.impl.VolLineBusinessServiceImpl">
	</bean>

	<bean id="stockBusinessHelperManager" class="org.vsg.stock.basic.service.impl.StockBusinessHelperManagerImpl">
	</bean>
	
	<bean id="coordinateFactory" 
		class="org.vsg.stock.core.indicator.coordinate.CoordinateFactory"
		factory-method="getInstance">
	</bean>


	<!-- extension -->
	<bean id="stkDateUtilExtension" 
		class="org.vsg.stock.core.utils.StockDateUtilExtensionImpl">
		<property name="tradedaysProp" value="${stock.tradedays}"></property>		
	</bean>

	<bean id="volFigureKlineDailyHandlerManager" 
		class="org.vsg.stock.basic.service.handler.VolFigureKlineDailyHandlerManager">
	</bean>
	<!-- 
	<bean id="volCharacterPatternHandlerManager" 
		class="org.vsg.stock.basic.service.handler.VolCharacterPatternHandlerManager">
	</bean>
	 -->
	<bean id="volCharacterKlineDailyHandlerManager" 
		class="org.vsg.stock.basic.service.handler.VolCharacterKlineDailyHandlerManager">
	</bean>

	<bean id="defaultVolCharacterKlineDailyProcessor" 
		class="org.vsg.stock.basic.service.volchara.DefaultSampleVolCharacterKlineDailyProcessor">
	</bean>
	
	<!-- business object defined  -->
	<bean id="crestBalanceLineFinderBO" 
		class="org.vsg.stock.basic.service.business.CrestBalanceLineFinderBO"
		scope="prototype"
	>
	</bean>

	<bean id="basicBalanceLineFinderBO" 
		class="org.vsg.stock.basic.service.business.BasicBalanceLineFinderBO"
		scope="prototype"
	>
	</bean>

	<bean id="zigBottomBalanceLineFinderBO" 
		class="org.vsg.stock.basic.service.business.ZigBottomBalanceLineFinderBO"
		scope="prototype"
	>
	</bean>

	<bean id="zigTopBalanceLineFinderBO" 
		class="org.vsg.stock.basic.service.business.ZigTopBalanceLineFinderBO"
		scope="prototype"
	>
	</bean>

	<bean id="crestTroughTogeterBalanceLineFinderBO" 
		class="org.vsg.stock.basic.service.business.CrestTroughTogeterBalanceLineFinderBO"
		scope="prototype"
	>
	</bean>

	<bean id="stockBalancLineControlerBO" 
		class="org.vsg.stock.basic.service.business.StockBalancLineControlerBO"
		scope="prototype"
	>
	</bean>

	<bean id="trendBalanceLineFinderBO" 
		class="org.vsg.stock.basic.service.business.TrendBalanceLineFinderBO"
		scope="prototype"
	>
	</bean>
		
	<!-- business object  -->
	<bean id="stoppingTradeDaysBO" 
		class="org.vsg.stock.core.business.StoppingTradeDaysBO"
		scope="prototype"
		>
	</bean>	

	<bean id="stockDailyKLineBO" 
		class="org.vsg.stock.core.business.StockDailyKLineBO"
		scope="prototype"
		>
	</bean>	

</beans>